﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp8
{
    class Class2 : Calculate
    {
        public Class2(int a, int b) : base(a, b)
        {

        }

        public override void DisplayResult()
        {

            base.DisplayResult();
            Console.WriteLine("两数之差为：" + (A - B));
        }
    }
}

